<extend name="Public/base" />

<block name="wrapper">
  <div class="row">
    <div class="col-lg-12">
      <div class="panel panel-default">
      <div class="panel-heading"><h3>瓜子精选图片管理</h3></div>
        <!-- /.panel-heading -->
        <div class="panel-body">
          <div class="dataTable_wrapper">

            <form action="{:U('Gzjxt/upload')}" enctype="multipart/form-data" method="post">
            <table class="table table-striped table-bordered table-hover" id="dataTables-example">
              <thead>
                <tr>
                 
                  <th>主题</th>
                  <td><input type="text" name="title" value=""></td>
              </tr>
               <tr>
                 
                  <th>图片</th>
                  <td><input type="file" name="photo" value=""></td>
              </tr>
              <tr>
                 
                  <th>链接</th>
                  <td><input type="text" name="link" value=""></td>
              </tr>
              <tr>
                <td colspan="2"><input type="submit" value="提交"></td>
              </tr>
              </thead>
 
            </table>
          </form>
          </div>
          <!-- /.table-responsive -->
        </div>
        <!-- /.panel-body -->
      </div>
      <!-- /.panel -->
    </div>
    <!-- /.col-lg-12 -->
  </div>

</block>